import request from '@/utils/request'

// 查询视频和设备与点位关联列表
export function listSqsbdwglb(query) {
  return request({
    url: '/ybyj/sqsbdwglb/list',
    method: 'get',
    params: query
  })
}

// 查询视频和设备与点位关联详细
export function getSqsbdwglb(id) {
  return request({
    url: '/ybyj/sqsbdwglb/' + id,
    method: 'get'
  })
}

// 新增视频和设备与点位关联
export function addSqsbdwglb(data) {
  return request({
    url: '/ybyj/sqsbdwglb',
    method: 'post',
    data: data
  })
}

// 修改视频和设备与点位关联
export function updateSqsbdwglb(data) {
  return request({
    url: '/ybyj/sqsbdwglb',
    method: 'put',
    data: data
  })
}

// 删除视频和设备与点位关联
export function delSqsbdwglb(id) {
  return request({
    url: '/ybyj/sqsbdwglb/' + id,
    method: 'delete'
  })
}


